package com.ocm.product.feign;

import com.ocm.core.tool.api.R;
import com.ocm.order.dto.OrderDetailDTO;
import com.ocm.product.entity.Spu;
import org.springframework.stereotype.Component;

/**
 * Author:   hqy
 * Date:     2021/12/3 12:45
 * Description:
 */
@Component
public class ISpuClientFallback implements ISpuClient{
	@Override
	public R<Spu> getSpu(Long id) {
		return R.fail("连接超时");
	}

	@Override
	public R<OrderDetailDTO> getOrderData(Long skuId) {
		return R.fail("连接超时");
	}
}
